/**
 * 2016，thor.com，all rights reserved。
 * 
 * Project：		palmmall-spi
 * Filename：	SMaintainBill.java
 * Created：		2016年9月12日
 * Creator：		wolv
 */
package com.thor.palmmall.spi.workorder;

import java.util.Date;
import java.util.List;

import com.thor.commons.entity.Entity;
import com.thor.commons.entity.UCN;
import com.thor.palmmall.spi.common.SAttachment;
import com.thor.palmmall.spi.common.SOperateInfo;

/**
 * @author kennen
 *
 */
public class SWorkOrderBill extends Entity {
  private static final long serialVersionUID = -6965055855732243230L;
  
  /** 版本号 */
  private long version;
  /** 版本时间 */
  private Date versionTime;
  /** 创建时间 */
  private SOperateInfo createInfo;
  /** 最后修改时间 */
  private SOperateInfo lastModifyInfo;
  /** 单号 */
  private String billNumber;
  /** 用户组ID */
  private String permGroupId;
  /** 用户组Title */
  private String permGroupTitle;

  /** 业务状态 */
  private String bizState;
  /** 流程状态 */
  private String bpmOutgoingState;
  private String bpmState;
  private String bpmMessage;
  private String bpmInstance;
  /** 作废原因 */
  private String abortMsg;
  /** 项目 */
  private UCN store;
  /** 来源：customer（客户）,inside(内部),tenant（商户）,lessee（租户）。其中tenant和lessee对应所选合同的合同类型（见商户登录接口） */
  private String source;
  /** 合同 */
  private UCN contract;
  /** 商户/租户 */
  private UCN counterpart;
  /** 联系人 */
  private UCN contact;
  /** 主题 */
  private String subject;
  /** 优先级 */
  private SWorkOrderPriority priority;
  /** 联系方式 */
  private String contactInfo;
  /** 描述 */
  private String description;//
  /** 评价人 */
  private UCN valuationUser;
  /** 评价时间 */
  private Date valuationTime;
  /** 评价满意度 */
  private SWorkOrderEvaluation valuationLevel;
  /** 评价详情 */
  private String valuationContent;
  /** 记录人:用于查看显示，编辑保存时可不传该参数，后台取操作信息中的用户。 */
  private UCN processingLogUser;
  /** 记录时间 */
  private Date processingLogTime;
  /** 记录内容 */
  private String processingLogContent;
  /** 开始处理人 */
  private String beginProcessUser;
  /** 开始处理时间 */
  private Date beginProcessTime;
  /** 完成处理时间 */
  private Date finishProcessTime;
  /** 业务单 */
  private List<SBusinessOrder> orders;
  /**  */
  private List<SAttachment> attachments;
  
  public long getVersion() {
    return version;
  }
  public void setVersion(long version) {
    this.version = version;
  }
  public Date getVersionTime() {
    return versionTime;
  }
  public void setVersionTime(Date versionTime) {
    this.versionTime = versionTime;
  }
  public SOperateInfo getCreateInfo() {
    return createInfo;
  }
  public void setCreateInfo(SOperateInfo createInfo) {
    this.createInfo = createInfo;
  }
  public SOperateInfo getLastModifyInfo() {
    return lastModifyInfo;
  }
  public void setLastModifyInfo(SOperateInfo lastModifyInfo) {
    this.lastModifyInfo = lastModifyInfo;
  }
  public String getBillNumber() {
    return billNumber;
  }
  public void setBillNumber(String billNumber) {
    this.billNumber = billNumber;
  }
  public String getPermGroupId() {
    return permGroupId;
  }
  public void setPermGroupId(String permGroupId) {
    this.permGroupId = permGroupId;
  }
  public String getPermGroupTitle() {
    return permGroupTitle;
  }
  public void setPermGroupTitle(String permGroupTitle) {
    this.permGroupTitle = permGroupTitle;
  }
  public String getBizState() {
    return bizState;
  }
  public void setBizState(String bizState) {
    this.bizState = bizState;
  }
  public String getBpmOutgoingState() {
    return bpmOutgoingState;
  }
  public void setBpmOutgoingState(String bpmOutgoingState) {
    this.bpmOutgoingState = bpmOutgoingState;
  }
  public String getBpmState() {
    return bpmState;
  }
  public void setBpmState(String bpmState) {
    this.bpmState = bpmState;
  }
  public String getBpmMessage() {
    return bpmMessage;
  }
  public void setBpmMessage(String bpmMessage) {
    this.bpmMessage = bpmMessage;
  }
  public String getBpmInstance() {
    return bpmInstance;
  }
  public void setBpmInstance(String bpmInstance) {
    this.bpmInstance = bpmInstance;
  }
  public String getAbortMsg() {
    return abortMsg;
  }
  public void setAbortMsg(String abortMsg) {
    this.abortMsg = abortMsg;
  }
  public UCN getStore() {
    return store;
  }
  public void setStore(UCN store) {
    this.store = store;
  }
  public String getSource() {
    return source;
  }
  public void setSource(String source) {
    this.source = source;
  }
  public UCN getContract() {
    return contract;
  }
  public void setContract(UCN contract) {
    this.contract = contract;
  }
  public UCN getCounterpart() {
    return counterpart;
  }
  public void setCounterpart(UCN counterpart) {
    this.counterpart = counterpart;
  }
  public UCN getContact() {
    return contact;
  }
  public void setContact(UCN contact) {
    this.contact = contact;
  }
  public String getSubject() {
    return subject;
  }
  public void setSubject(String subject) {
    this.subject = subject;
  }
  public SWorkOrderPriority getPriority() {
    return priority;
  }
  public void setPriority(SWorkOrderPriority priority) {
    this.priority = priority;
  }
  public String getContactInfo() {
    return contactInfo;
  }
  public void setContactInfo(String contactInfo) {
    this.contactInfo = contactInfo;
  }
  public String getDescription() {
    return description;
  }
  public void setDescription(String description) {
    this.description = description;
  }
  public UCN getValuationUser() {
    return valuationUser;
  }
  public void setValuationUser(UCN valuationUser) {
    this.valuationUser = valuationUser;
  }
  public Date getValuationTime() {
    return valuationTime;
  }
  public void setValuationTime(Date valuationTime) {
    this.valuationTime = valuationTime;
  }
  public SWorkOrderEvaluation getValuationLevel() {
    return valuationLevel;
  }
  public void setValuationLevel(SWorkOrderEvaluation valuationLevel) {
    this.valuationLevel = valuationLevel;
  }
  public String getValuationContent() {
    return valuationContent;
  }
  public void setValuationContent(String valuationContent) {
    this.valuationContent = valuationContent;
  }
  public UCN getProcessingLogUser() {
    return processingLogUser;
  }
  public void setProcessingLogUser(UCN processingLogUser) {
    this.processingLogUser = processingLogUser;
  }
  public Date getProcessingLogTime() {
    return processingLogTime;
  }
  public void setProcessingLogTime(Date processingLogTime) {
    this.processingLogTime = processingLogTime;
  }
  public String getProcessingLogContent() {
    return processingLogContent;
  }
  public void setProcessingLogContent(String processingLogContent) {
    this.processingLogContent = processingLogContent;
  }
  public String getBeginProcessUser() {
    return beginProcessUser;
  }
  public void setBeginProcessUser(String beginProcessUser) {
    this.beginProcessUser = beginProcessUser;
  }
  public Date getBeginProcessTime() {
    return beginProcessTime;
  }
  public void setBeginProcessTime(Date beginProcessTime) {
    this.beginProcessTime = beginProcessTime;
  }
  public Date getFinishProcessTime() {
    return finishProcessTime;
  }
  public void setFinishProcessTime(Date finishProcessTime) {
    this.finishProcessTime = finishProcessTime;
  }
  public List<SBusinessOrder> getOrders() {
    return orders;
  }
  public void setOrders(List<SBusinessOrder> orders) {
    this.orders = orders;
  }
  public List<SAttachment> getAttachments() {
    return attachments;
  }
  public void setAttachments(List<SAttachment> attachments) {
    this.attachments = attachments;
  }

  
 
  
}
